for i in range(0,21):
    if(i%2==0):
        print i

for i in range(0,21):
    if(i%2==1):
        print i


